<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Python实用站 - 从学习到变现的全链路服务</title>
  <!-- 引入外部资源 -->
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  
  <!-- 配置Tailwind自定义主题 -->
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            primary: '#165DFF', // 主色调：科技蓝（专业、可信赖）
            secondary: '#36CFC9', // 辅助色：青绿色（体现效率、创新）
            neutral: '#F5F7FA', // 中性色：浅灰（背景用，减少视觉疲劳）
            dark: '#1D2129', // 深色文本
          },
          fontFamily: {
            sans: ['Inter', 'system-ui', 'sans-serif'],
          },
        },
      }
    }
  </script>
  
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .card-hover {
        transition: all 0.3s ease;
      }
      .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(22, 93, 255, 0.1);
      }
    }
  </style>
</head>

<body class="bg-white text-dark">
  <!-- 导航栏 - 滚动时变化样式 -->
  <header id="navbar" class="fixed w-full top-0 z-50 transition-all duration-300 bg-white/90 backdrop-blur-sm shadow-sm">
    <div class="container mx-auto px-4 py-3 flex items-center justify-between">
      <!-- Logo -->
      <a href="#" class="flex items-center gap-2">
        <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
          <i class="fa fa-code text-white text-xl"></i>
        </div>
        <span class="text-xl font-bold text-primary">Python实用站</span>
      </a>
      
      <!-- 导航菜单 - 桌面端 -->
      <nav class="hidden md:flex items-center gap-8">
        <a href="#" class="font-medium text-primary border-b-2 border-primary pb-1">首页</a>
        <a href="#learning" class="font-medium hover:text-primary transition-colors">学习中心</a>
        <a href="#tools" class="font-medium hover:text-primary transition-colors">工具商铺</a>
        <a href="#creative" class="font-medium hover:text-primary transition-colors">创意对接</a>
        <a href="#about" class="font-medium hover:text-primary transition-colors">关于我们</a>
      </nav>
      
      <!-- 登录/注册按钮 -->
      <div class="flex items-center gap-4">
        <a href="#login" class="hidden md:block px-4 py-2 text-primary border border-primary rounded-lg hover:bg-primary/5 transition-colors">登录</a>
        <a href="#register" class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors shadow-md hover:shadow-lg">注册</a>
        
        <!-- 移动端菜单按钮 -->
        <button id="menuBtn" class="md:hidden text-dark text-xl">
          <i class="fa fa-bars"></i>
        </button>
      </div>
    </div>
    
    <!-- 移动端菜单 -->
    <div id="mobileMenu" class="md:hidden hidden bg-white border-t">
      <div class="container mx-auto px-4 py-3 flex flex-col gap-3">
        <a href="#" class="py-2 font-medium text-primary">首页</a>
        <a href="#learning" class="py-2 font-medium hover:text-primary">学习中心</a>
        <a href="#tools" class="py-2 font-medium hover:text-primary">工具商铺</a>
        <a href="#creative" class="py-2 font-medium hover:text-primary">创意对接</a>
        <a href="#about" class="py-2 font-medium hover:text-primary">关于我们</a>
        <a href="#login" class="py-2 font-medium hover:text-primary">登录</a>
      </div>
    </div>
  </header>

  <main>
    <!-- 1. Banner区 - 核心价值传递 -->
    <section class="pt-32 pb-20 md:pt-40 md:pb-32 bg-gradient-to-br from-primary/5 to-secondary/5">
      <div class="container mx-auto px-4">
        <div class="flex flex-col md:flex-row items-center gap-10">
          <!-- 文字内容 -->
          <div class="md:w-1/2 space-y-6">
            <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold leading-tight text-shadow">
              用Python解决问题<br>
              <span class="text-primary">从学习到变现</span>
            </h1>
            <p class="text-lg text-gray-600 max-w-lg">
              专为初学者设计的实战路径，为办公族提供高效工具，小成本定制专属系统，让代码真正创造价值
            </p>
            <div class="flex flex-wrap gap-4 pt-4">
              <a href="#learning" class="px-8 py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-all shadow-lg hover:shadow-xl">
                开始学习 <i class="fa fa-arrow-right ml-2"></i>
              </a>
              <a href="#tools" class="px-8 py-3 bg-white text-primary border border-primary rounded-lg hover:bg-primary/5 transition-all">
                逛工具铺
              </a>
            </div>
            
            <!-- 信任背书 -->
            <div class="pt-6 flex items-center gap-2 text-gray-500">
              <div class="flex -space-x-2">
                <img src="https://picsum.photos/id/1001/40/40" alt="用户头像" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/1002/40/40" alt="用户头像" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/1003/40/40" alt="用户头像" class="w-8 h-8 rounded-full border-2 border-white">
                <div class="w-8 h-8 rounded-full bg-primary/10 text-primary text-xs flex items-center justify-center border-2 border-white">
                  2k+
                </div>
              </div>
              <span>已有2000+用户通过我们解决问题</span>
            </div>
          </div>
          
          <!-- 图片 -->
          <div class="md:w-1/2">
            <img src="https://picsum.photos/id/0/600/400" alt="Python实战场景" class="rounded-xl shadow-2xl w-full object-cover h-[300px] md:h-[400px]">
          </div>
        </div>
      </div>
    </section>

    <!-- 2. 用户标签入口区 - 场景化引导 -->
    <section class="py-16 bg-white">
      <div class="container mx-auto px-4">
        <div class="text-center mb-12">
          <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4">找到适合你的解决方案</h2>
          <p class="text-gray-600 max-w-2xl mx-auto">无论你是Python新手、需要效率工具的办公族，还是有定制需求的创业者，这里都能满足你</p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
          <!-- 卡片1：初学Python -->
          <div class="bg-neutral rounded-2xl p-8 card-hover">
            <div class="w-14 h-14 bg-primary/10 rounded-xl flex items-center justify-center mb-6">
              <i class="fa fa-graduation-cap text-primary text-2xl"></i>
            </div>
            <h3 class="text-xl font-bold mb-3">初学Python</h3>
            <p class="text-gray-600 mb-6">从基础语法到实战项目，手把手教你做出第一个能用的工具，告别“学完就忘”</p>
            <a href="#learning" class="inline-flex items-center text-primary font-medium hover:underline">
              查看学习路径 <i class="fa fa-long-arrow-right ml-2"></i>
            </a>
          </div>
          
          <!-- 卡片2：办公效率 -->
          <div class="bg-neutral rounded-2xl p-8 card-hover">
            <div class="w-14 h-14 bg-secondary/10 rounded-xl flex items-center justify-center mb-6">
              <i class="fa fa-bolt text-secondary text-2xl"></i>
            </div>
            <h3 class="text-xl font-bold mb-3">办公效率工具</h3>
            <p class="text-gray-600 mb-6">批量处理Excel/文件/数据，5秒完成2小时手动工作，支持定制化功能</p>
            <a href="#tools" class="inline-flex items-center text-secondary font-medium hover:underline">
              浏览工具库 <i class="fa fa-long-arrow-right ml-2"></i>
            </a>
          </div>
          
          <!-- 卡片3：定制需求 -->
          <div class="bg-neutral rounded-2xl p-8 card-hover">
            <div class="w-14 h-14 bg-primary/10 rounded-xl flex items-center justify-center mb-6">
              <i class="fa fa-puzzle-piece text-primary text-2xl"></i>
            </div>
            <h3 class="text-xl font-bold mb-3">定制专属系统</h3>
            <p class="text-gray-600 mb-6">小成本做个人/小团队专属工具（如进销存、数据报表系统），比免费软件更合身</p>
            <a href="#creative" class="inline-flex items-center text-primary font-medium hover:underline">
              发布需求 <i class="fa fa-long-arrow-right ml-2"></i>
            </a>
          </div>
        </div>
      </div>
    </section>

    <!-- 3. 会员特权区 - 转化核心 -->
    <section class="py-16 bg-primary/5">
      <div class="container mx-auto px-4">
        <div class="text-center mb-12">
          <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4">9.9元解锁全部权益</h2>
          <p class="text-gray-600 max-w-2xl mx-auto">每天3毛钱，获取学习资源+效率工具+定制优惠，物超所值</p>
        </div>
        
        <div class="max-w-4xl mx-auto">
          <div class="bg-white rounded-2xl shadow-lg overflow-hidden">
            <div class="grid grid-cols-1 md:grid-cols-2">
              <!-- 免费用户 -->
              <div class="p-8 border-b md:border-b-0 md:border-r border-gray-100">
                <h3 class="text-xl font-bold mb-6 flex items-center">
                  <i class="fa fa-user-o text-gray-400 mr-2"></i> 免费用户
                </h3>
                <ul class="space-y-4">
                  <li class="flex items-start">
                    <i class="fa fa-check text-green-500 mt-1 mr-3"></i>
                    <span>查看基础Python教程（10节）</span>
                  </li>
                  <li class="flex items-start">
                    <i class="fa fa-check text-green-500 mt-1 mr-3"></i>
                    <span>下载3款免费工具</span>
                  </li>
                  <li class="flex items-start text-gray-400">
                    <i class="fa fa-times text-gray-300 mt-1 mr-3"></i>
                    <span>进阶实战课程（批量处理/工具开发）</span>
                  </li>
                  <li class="flex items-start text-gray-400">
                    <i class="fa fa-times text-gray-300 mt-1 mr-3"></i>
                    <span>工具购买折扣</span>
                  </li>
                  <li class="flex items-start text-gray-400">
                    <i class="fa fa-times text-gray-300 mt-1 mr-3"></i>
                    <span>免费发布定制需求</span>
                  </li>
                </ul>
              </div>
              
              <!-- 会员用户 -->
              <div class="p-8 bg-gradient-to-br from-primary/5 to-primary/10">
                <div class="flex justify-between items-center mb-6">
                  <h3 class="text-xl font-bold flex items-center">
                    <i class="fa fa-user-plus text-primary mr-2"></i> 会员用户
                  </h3>
                  <span class="bg-primary text-white text-sm px-3 py-1 rounded-full">9.9元/月</span>
                </div>
                <ul class="space-y-4">
                  <li class="flex items-start">
                    <i class="fa fa-check text-primary mt-1 mr-3"></i>
                    <span>全部课程（50+节，含进阶实战）</span>
                  </li>
                  <li class="flex items-start">
                    <i class="fa fa-check text-primary mt-1 mr-3"></i>
                    <span>免费下载10款精选工具</span>
                  </li>
                  <li class="flex items-start">
                    <i class="fa fa-check text-primary mt-1 mr-3"></i>
                    <span>工具购买享8折优惠</span>
                  </li>
                  <li class="flex items-start">
                    <i class="fa fa-check text-primary mt-1 mr-3"></i>
                    <span>定制服务减免50元</span>
                  </li>
                  <li class="flex items-start">
                    <i class="fa fa-check text-primary mt-1 mr-3"></i>
                    <span>免费发布定制需求（不限次数）</span>
                  </li>
                </ul>
                <a href="#register" class="mt-8 block w-full py-3 bg-primary text-white text-center rounded-lg hover:bg-primary/90 transition-colors shadow-md">
                  立即开通会员
                </a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 4. 案例展示区 - 信任背书 -->
    <section class="py-16 bg-white">
      <div class="container mx-auto px-4">
        <div class="text-center mb-12">
          <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4">他们都在这里解决了问题</h2>
          <p class="text-gray-600 max-w-2xl mx-auto">真实用户案例，看看我们如何帮他们提升效率、实现价值</p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
          <!-- 案例1 -->
          <div class="border border-gray-100 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow">
            <img src="https://picsum.photos/id/180/600/300" alt="Excel批量处理工具" class="w-full h-48 object-cover">
            <div class="p-6">
              <div class="flex items-center gap-2 mb-3">
                <span class="bg-primary/10 text-primary text-xs px-2 py-1 rounded">办公效率</span>
                <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded">节省2小时/天</span>
              </div>
              <h3 class="font-bold text-lg mb-2">Excel批量处理工具</h3>
              <p class="text-gray-600 text-sm mb-4">
                李会计用它每天批量合并50+表格，自动生成报表，错误率从15%降到0
              </p>
              <div class="flex items-center gap-3">
                <img src="https://picsum.photos/id/1005/40/40" alt="用户头像" class="w-8 h-8 rounded-full">
                <span class="text-sm text-gray-500">李会计 · 某贸易公司</span>
              </div>
            </div>
          </div>
          
          <!-- 案例2 -->
          <div class="border border-gray-100 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow">
            <img src="https://picsum.photos/id/48/600/300" alt="Python入门课程" class="w-full h-48 object-cover">
            <div class="p-6">
              <div class="flex items-center gap-2 mb-3">
                <span class="bg-primary/10 text-primary text-xs px-2 py-1 rounded">学习成长</span>
                <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded">30天入门</span>
              </div>
              <h3 class="font-bold text-lg mb-2">Python入门到实战</h3>
              <p class="text-gray-600 text-sm mb-4">
                小王从零基础学完课程，自己开发了股票数据爬虫工具，现在兼职接单月入3k+
              </p>
              <div class="flex items-center gap-3">
                <img src="https://picsum.photos/id/1012/40/40" alt="用户头像" class="w-8 h-8 rounded-full">
                <span class="text-sm text-gray-500">小王 · 大学生</span>
              </div>
            </div>
          </div>
          
          <!-- 案例3 -->
          <div class="border border-gray-100 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-shadow">
            <img src="https://picsum.photos/id/160/600/300" alt="进销存系统定制" class="w-full h-48 object-cover">
            <div class="p-6">
              <div class="flex items-center gap-2 mb-3">
                <span class="bg-primary/10 text-primary text-xs px-2 py-1 rounded">定制服务</span>
                <span class="bg-purple-100 text-purple-600 text-xs px-2 py-1 rounded">低成本解决方案</span>
              </div>
              <h3 class="font-bold text-lg mb-2">个人进销存系统</h3>
              <p class="text-gray-600 text-sm mb-4">
                张老板花399元定制了专属进销存系统，库存管理效率提升60%，比动辄上万的系统实用
              </p>
              <div class="flex items-center gap-3">
                <img src="https://picsum.photos/id/1025/40/40" alt="用户头像" class="w-8 h-8 rounded-full">
                <span class="text-sm text-gray-500">张老板 · 小超市店主</span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 5. 行动召唤区 -->
    <section class="py-20 bg-primary">
      <div class="container mx-auto px-4 text-center">
        <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold text-white mb-6">
          今天就开始用Python改变工作方式
        </h2>
        <p class="text-white/80 max-w-2xl mx-auto mb-10 text-lg">
          注册即送7天会员体验，免费学习课程、下载工具，不满意随时取消
        </p>
        <div class="flex flex-col sm:flex-row gap-4 justify-center">
          <a href="#register" class="px-8 py-4 bg-white text-primary rounded-lg font-medium hover:bg-gray-100 transition-colors shadow-lg">
            立即注册，免费体验
          </a>
          <a href="#about" class="px-8 py-4 bg-transparent text-white border border-white rounded-lg font-medium hover:bg-white/10 transition-colors">
            了解更多
          </a>
        </div>
      </div>
    </section>
  </main>

  <!-- 页脚 -->
  <footer class="bg-dark text-white/70 py-12">
    <div class="container mx-auto px-4">
      <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
        <div>
          <div class="flex items-center gap-2 mb-4">
            <div class="w-10 h-10 rounded-lg bg-white flex items-center justify-center">
              <i class="fa fa-code text-primary text-xl"></i>
            </div>
            <span class="text-xl font-bold text-white">Python实用站</span>
          </div>
          <p class="text-sm">
            让Python成为你的效率工具和赚钱技能，从学习到变现的全链路服务平台
          </p>
        </div>
        
        <div>
          <h4 class="text-white font-bold mb-4">快速链接</h4>
          <ul class="space-y-2 text-sm">
            <li><a href="#" class="hover:text-white transition-colors">首页</a></li>
            <li><a href="#learning" class="hover:text-white transition-colors">学习中心</a></li>
            <li><a href="#tools" class="hover:text-white transition-colors">工具商铺</a></li>
            <li><a href="#creative" class="hover:text-white transition-colors">创意对接</a></li>
          </ul>
        </div>
        
        <div>
          <h4 class="text-white font-bold mb-4">帮助中心</h4>
          <ul class="space-y-2 text-sm">
            <li><a href="#" class="hover:text-white transition-colors">常见问题</a></li>
            <li><a href="#" class="hover:text-white transition-colors">会员说明</a></li>
            <li><a href="#" class="hover:text-white transition-colors">工具使用教程</a></li>
            <li><a href="#feedback" class="hover:text-white transition-colors">意见反馈</a></li>
          </ul>
        </div>
        
        <div>
          <h4 class="text-white font-bold mb-4">联系我们</h4>
          <ul class="space-y-2 text-sm">
            <li class="flex items-center gap-2">
              <i class="fa fa-envelope"></i>
              <span>contact@python4u.com</span>
            </li>
            <li class="flex items-center gap-2">
              <i class="fa fa-weixin"></i>
              <span>Python实用站</span>
            </li>
          </ul>
          <div class="mt-4">
            <img src="https://picsum.photos/id/237/80/80" alt="微信公众号" class="w-20 h-20 rounded">
          </div>
        </div>
      </div>
      
      <div class="border-t border-white/10 pt-8 text-sm text-center">
        <p>© 2023 Python实用站 版权所有 | 专注于Python学习与实用工具开发</p>
      </div>
    </div>
  </footer>

  <!-- 简单的交互脚本 -->
  <script>
    // 导航栏滚动效果
    const navbar = document.getElementById('navbar');
    window.addEventListener('scroll', () => {
      if (window.scrollY > 50) {
        navbar.classList.add('py-2', 'shadow');
        navbar.classList.remove('py-3');
      } else {
        navbar.classList.add('py-3');
        navbar.classList.remove('py-2', 'shadow');
      }
    });
    
    // 移动端菜单切换
    const menuBtn = document.getElementById('menuBtn');
    const mobileMenu = document.getElementById('mobileMenu');
    menuBtn.addEventListener('click', () => {
      mobileMenu.classList.toggle('hidden');
      menuBtn.innerHTML = mobileMenu.classList.contains('hidden') 
        ? '<i class="fa fa-bars"></i>' 
        : '<i class="fa fa-times"></i>';
    });
    
    // 平滑滚动
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
      anchor.addEventListener('click', function(e) {
        e.preventDefault();
        const targetId = this.getAttribute('href');
        if (targetId === '#') return;
        
        const targetElement = document.querySelector(targetId);
        if (targetElement) {
          window.scrollTo({
            top: targetElement.offsetTop - 80,
            behavior: 'smooth'
          });
          
          // 关闭移动端菜单
          if (!mobileMenu.classList.contains('hidden')) {
            mobileMenu.classList.add('hidden');
            menuBtn.innerHTML = '<i class="fa fa-bars"></i>';
          }
        }
      });
    });
  </script>
</body>
</html>
